function getQueryString(name) {
    var svalue  = location.href.match(new RegExp("[\?\&]" + name + "=([^\&]*)(\&?)","i"));
    return svalue ? svalue[1] : svalue;
}
angular.module('aboutUs.controller', [])
  .controller('aboutUsCtrl', ['$scope', '$timeout', '$localstorage', '$ionicPopup', 'aboutUsService', '$state', 'loginService', '$ionicHistory', function ($scope, $timeout, $localstorage, $ionicPopup, aboutUsService, $state, loginService, $ionicHistory) {

    $scope.params={}; 
    $scope.params = aboutUsService.getParams();
    $scope.visible=true; //初始
    $scope.$on('$ionicView.enter', function(event, data) { 
    });
    $scope.goBack = function(){
      $ionicHistory.goBack(-1);//back到之前的路由
    }
  }]);
